//
//  FloatPickerCellData.h
//  18Birdies
//
//  Created by 张永 on 2017/8/11.
//  Copyright © 2017年 Lc. All rights reserved.
//

#import "LcCellData.h"

@class FloatPickerCellData;

@protocol FloatPickerDelegate<NSObject>
@required
- (void)onFloatChanged:(float)value cellData:(FloatPickerCellData*)cellData;
@end

@interface FloatPickerCellData : LcCellData<UIPickerViewDataSource, UIPickerViewDelegate>
+ (FloatPickerCellData*)cellDataWithValues:(NSArray*)values
                                      value:(float)value;

@property(nonatomic, strong) NSArray* values;
@property(nonatomic, assign) float value;
@property(nonatomic, weak) id<FloatPickerDelegate> delegate;
@end
